package ListArray;

import com.sun.source.tree.NewArrayTree;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        for (int i = 0; i < myArrayList.useSize; i++) {
            System.out.print(myArrayList.get(i)+" ");
        }
    }
}
